<?php

go(function(){


	$client = new Swoole\Coroutine\Http\Client('127.0.0.1','8000');

	$client->set([
		'timeout'=>1
	]);

	$client->get('/hello/name');
	print_r($client->body);

	$client->close();
});